package com.itheima.reggie.service;

import com.itheima.reggie.entity.DishFlavor;

import java.util.List;

public interface DishFlavorService {

    /**
     * 添加口味数据
     *
     * @param dishFlavor
     * @return
     */
    int add(DishFlavor dishFlavor);

    /**
     * 根据菜品id,查询菜品口味数据
     *
     * @param dishId
     * @return
     */
    List<DishFlavor> findByDishId(long dishId);


    /**
     * 根据id删除口味
     *
     * @param dishId
     * @return
     */
    int delete(long dishId);
}
